import React from 'react';
import { Routes, Route, Navigate } from 'react-router-dom';
import Dashboard from './components/Dashboard';
import './App.css';

function App() {
  return (
    <Routes>
      <Route path="/dashboard" element={<Dashboard />} />
      <Route path="/work" element={<Dashboard />} />
      <Route path="/analysis" element={<Dashboard />} />
      <Route path="/ecommerce" element={<Dashboard />} />
      <Route path="/system/users" element={<Dashboard />} />
      <Route path="/system/menus" element={<Dashboard />} />
      <Route path="/content/manage" element={<Dashboard />} />
      <Route path="/system" element={<Dashboard />} />
      <Route path="/" element={<Navigate to="/dashboard" replace />} />
    </Routes>
  );
}

export default App; 